package com.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.entity.KaoyanziliaoEntity;
import com.entity.view.KaoyanziliaoView;
import com.entity.vo.KaoyanziliaoVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 考研资料
 * 赵润波 2023.5.25
 */
public interface KaoyanziliaoDao extends BaseMapper<KaoyanziliaoEntity> {
	
	List<KaoyanziliaoVO> selectListVO(@Param("ew") Wrapper<KaoyanziliaoEntity> wrapper);
	
	KaoyanziliaoVO selectVO(@Param("ew") Wrapper<KaoyanziliaoEntity> wrapper);
	
	List<KaoyanziliaoView> selectListView(@Param("ew") Wrapper<KaoyanziliaoEntity> wrapper);

	List<KaoyanziliaoView> selectListView(Pagination page,@Param("ew") Wrapper<KaoyanziliaoEntity> wrapper);
	
	KaoyanziliaoView selectView(@Param("ew") Wrapper<KaoyanziliaoEntity> wrapper);
	

}
